<?php

/* 用户资金交易 */
class User_transModel extends BaseModel
{
	var $table  = 'user_trans';
	var $prikey = 'trans_id';
	var $_name  = 'user_trans';

	function get_info_by_trans_code($trans_code)
	{
       
		$sql = "SELECT * FROM {$this->table} WHERE trans_code = '{$trans_code}' ";
		$row = $this->db->getRow($sql);
		return $row;
	}

}

?>